package DBLayer;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import DBLayer.DbCustomer;
import ModelLayer.Customer;

public class DbCustomerTest 
{
	private DbCustomer dbCustomerObject;
	
	@Before
	public void setUp() throws Exception 
	{
		dbCustomerObject = new DbCustomer();
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testDbCustomer() {
		fail("Not yet implemented");
	}

	@Test
	public void testGetAllCustomers() {
		fail("Not yet implemented");
	}

	@Test
	public void testFindCustomerByName() 
	{
		Customer custObjct = dbCustomerObject.findCustomerByName("Johnny Madsen", false);
		if(custObjct != null)
		{
			System.out.println("FUNDET");
		}
		else
		{
			fail("WTF MAIN!?!?!");
		}
	}

	@Test
	public void testInsertCustomer() {
		fail("Not yet implemented");
	}

	@Test
	public void testUpdateCustomer() {
		fail("Not yet implemented");
	}

	@Test
	public void testDeleteCustomer() {
		fail("Not yet implemented");
	}

}
